package com.ruoyi.app.domain.vo

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.ruoyi.app.common.PageMp
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("用户作品列表参数")
data class UserRecordListVo(

    @ApiModelProperty("作品id")
    var id: Long? = null,

    @ApiModelProperty("资源链接")
    var url: String? = null,

    @ApiModelProperty("封面(视频)")
    var cover: String? = null,

    @ApiModelProperty("任务处理状态 1.处理中 2.处理完成 3.处理失败")
    var status: Int? = null,

    @ApiModelProperty("失败原因")
    var errorMsg: String? = null,

    @ApiModelProperty("标题")
    var title: String? = null,

    @ApiModelProperty("是否被收藏")
    var collect: Boolean? = false,

    @ApiModelProperty("是否被推荐")
    var recommend: Boolean? = false,
)

@ApiModel("功能参数")
data class FunctionIndexVo(

    @ApiModelProperty("功能id")
    var id: Long? = null,

    @ApiModelProperty("功能名称")
    var name: String? = null,

    @ApiModelProperty("用户作品列表")
    var userRecordList: PageMp<UserRecordListVo>? = null,
)
